package cn.kgc.crowdfundingadminspringboot2.service;

import cn.kgc.crowdfundingadminspringboot2.pojo.Advertisement;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdvertisementService {

    public PageInfo<Advertisement> queryAll(Integer pageNum,Integer PageSize,String keyword);

    public void saveAdvertisement(Advertisement advertisement);

    public void batchRemove(List<Integer> advertisementList);

    public Advertisement getAdminById(Integer advertisementId);

    public void updateAdmin(Advertisement advertisement);
}
